#include "parafluidobject.h"

using namespace ParaFluid;

Object::~Object()
{
	/* does nothing */
}

Object::Object()
	: position()
{
	/* does nothing */
}

Object::Object(const Vector & pos)
	: position(pos)
{
	/* does nothing */
}

Object::Object(const Object & other)
	: position(other.position)
{
	/* does nothing */
}

Object & Object::operator= (const Object & rhs)
{
	if(&rhs != this)
	{
		position = rhs.position;
	}
	return *this;
}

bool Object::operator== (const Object & rhs) const
{
	bool result = true;
	if(&rhs != this)
	{
		result = (position == rhs.position);
	}
	return result;
}

